AdBlockGuard\Frontend D

Total Complexity 139
Dependencies 2
Dependents 0
Total lines 683
Lines of code 421
Logical lines of code 262
Comment lines 119
Methods 30
Properties 7

Methods 30

Method Rating Maintainability Complexity Lines of code
getUserGroupSettings()
B
46 17 37
isCurrentPageTypeExcluded()
A
48 15 32
canRenderOnIgnoredUrls()
A
47 12 35
canRenderOnExcludedPosts()
A
50 11 27
getAllCarbonFieldSettingsFromCache()
A
49 9 29
isCurrentWooCommercePageTypeExcluded()
A
54 9 22
canRenderOnWooCommercePages()
A
57 8 17
canRenderOnExcludedPages()
S
55 7 20
canRenderOnSpecialPages()
S
58 7 15
isUserOverlayRenderable()
S
55 6 23
runModeFrontend()
S
58 3 16
render_footer_content()
S
65 4 9
logBrowserConsole()
S
62 3 11
isUserOverlayEnabled()
S
64 3 9
getRole()
S
64 3 10
isEnabledGlobally()
S
68 3 7
renderAdBlock()
S
59 2 14
__construct()
S
61 2 13
getCurrentRelativePath()
S
71 2 5
isRegistrationPage()
S
78 2 3
get_instance()
S
71 2 6
runModeDemo()
S
61 1 12
getUserOverlaySettings()
S
80 1 3
is_checkbox_checked()
S
80 1 3
isPathMatchingPattern()
S
66 1 8
isDebug()
S
82 1 3
getSerializedOptionNames()
S
66 1 10
getAllTextOptions()
S
66 1 10
getAllOptionNames()
S
63 1 9
isLoginPage()
S
79 1 3